package com.zg.autoflow.service;

import com.zg.autoflow.req.SettleWorkflowStepReq;
import com.zg.autoflow.vo.SettleWorkflowStepVo;
import com.zg.common.core.dao.autoflow.entity.SettleWorkflowStep;

import java.util.List;
import java.util.Map;

/**
* @author zg
*/
public interface SettleWorkflowStepService {

    List<SettleWorkflowStep> getNextStepConfig(SettleWorkflowStepReq settleWorkflowStepReq);

    /**
     *获取一个流程的全部环节 并且用stepcode当做KEY 放入map中返回
     * @return
     */
    Map<String, SettleWorkflowStep> getFlowAllStepMap(String flowCode);

    List<SettleWorkflowStep> getFlowStep(String flowCode, String[] nextStepCodes);
}
